import React from "react";
import Header from "./componnets/Header";
import Footer from "./componnets/Footer";
import { Switch } from "react-router-dom";

function Home(props) {
  return (
    <div className="home">
      <Header />
      <Switch>{props.children}</Switch>
      <Footer />
    </div>
  );
}
export default Home;
